package com.iraeta.dao.iraorder;

import com.iraeta.entity.Iraorderwuliu;
import com.iraeta.entity.vo.IraorderwuliuVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface IraorderwuliuDao {
    int insert(Iraorderwuliu record);
    int updateByPrimaryKey(Iraorderwuliu record);
    int deleteByPrimaryKey(Integer id);
    int deleteByOrderId(@Param("orderId") Integer orderId);
    Iraorderwuliu selectByPrimaryKey(Integer id);
    List<Iraorderwuliu> selectByOrderId(@Param("orderId") Integer orderId);
    List<IraorderwuliuVo> selectByWlUserId(@Param("wuLiuNo") String wuLiuNo, @Param("userId") Integer userId);
}